package com.wing.purchase.model.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 采购入库作业产品
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("pur_purchase_storage_work_product")
public class PurchaseStorageWorkProduct extends BaseEntity<PurchaseStorageWorkProduct> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 采购入库作业ID
     */
    private Long purchaseStorageWorkId;

    /**
     * 采购签收产品ID
     */
    private Long purchaseSignForProductId;

    /**
     * 物料类型ID
     */
    private Long productTypeId;

    /**
     * 物料ID
     */
    private Long productDetailId;

    /**
     * 物料编码
     */
    @TableField(exist = false)
    private String skuCode;

    /**
     * 入库数量
     */
    private BigDecimal quantity;

    /**
     * 入库类型ID
     */
    private Long warehouseInventoryTypeId;

    /**
     * 入库仓库类型ID
     */
    private Long warehouseTypeId;

    /**
     * 入库仓库ID
     */
    private Long warehouseId;

    /**
     * 入库仓库库区ID
     */
    private Long warehouseAreaId;

    /**
     * 仓库货架ID
     */
    private Long warehouseShelfId;

    /**
     * 货位ID
     */
    private Long warehouseShelfSpaceId;

    /**
     * 料箱ID
     */
    private Long palletBoxId;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 总价
     */
    private BigDecimal totalPrice;


    /**
     * 入库单价（不含税）
     */
    private BigDecimal inDanPrice;

    /**
     * 批次号
     */
    private String batchNumber;



    /**
     * 供应商相关
     */
    @TableField(exist = false)
    private String supplierName;

    @TableField(exist = false)
    private String supplierId;

    @TableField(exist = false)
    private String supplierCode;


}
